ExamPlay Light Logo
Log ind

Computer Science for IGCSE & O level - Programming (Section 14 - No. 42)

What is the primary function of selection statements in programming?
To execute a block of code repeatedly.
To perform mathematical calculations.
To make decisions and control program flow based on conditions.
To declare and initialize variables.

Forklaring

Selection statements allow the program to choose what code to execute based on whether conditions are true or false.

Kommentarer (0)

Log ind for at kommentere
Reklame
BrainBehindX Inc Logo
©2026; Drevet af BrainBehindX Inc